package tsb.dominio.interfaces;


/**
 * -El ancho de bada es de 100 Mbps -es siempre full-duplex
 * @author Federico Gomez
 * @version 1.0
 * @created 12-Mar-2011 05:45:51 p.m.
 */
public class FibraOpticaFastEthernet extends FastEthernet {



	public FibraOpticaFastEthernet(){

	}

    public FibraOpticaFastEthernet(boolean estado, int anchoDeBanda, IP ip,IP subnetMask, boolean duplex, MAC mac) {
        this.estado= estado;
        this.anchoDeBanda=anchoDeBanda;
        this.ip=ip;
        this.subnetMask=subnetMask;
        this.duplex=duplex;
        this.mac=mac;
    }
    
    public String toString()
{
    String cad= "---- Interfaz Fast Ethernet Fibra Optica ----" +"\n"+
            super.toString();

    return cad;
}

    

    public IP getIp() {
        return ip;
    }

    public void setIp(IP ip) {
        this.ip = ip;
    }

    @Override
    public void setMac(MAC mac) {
        super.setMac(mac);
    }
    


    
}